import Router from 'koa-router'
const router = new Router()

import api from './api/index.js'
import endapi from './endapi/index.js'

router.use(api.routes())
router.use(endapi.routes())

export default router